public class Phone {
        public String name;
        public int price;
        public Phone(String name, int price) {
            this.name = name;
            this.price = price;
        }
        public void show(){
            System.out.println("品牌："+name+"价格："+price);
        }

        public void call(){
            System.out.println("打电话");
        }
        public void message(){
            System.out.println("发信息");
        }
    }

